C1.Data.Entities Namespace > EntityFrameworkExtensions Class > AsLive Method : AsLive<T>(ICollection<T>,EntityClientScope) Method |
'Declaration
Public Overloads Shared Function AsLive(Of T As Class)( _ ByVal pocoCollection As System.Collections.Generic.ICollection(Of T), _ ByVal scope As EntityClientScope _ ) As View(Of T)
public static View<T> AsLive<T>( System.Collections.Generic.ICollection<T> pocoCollection, EntityClientScope scope ) where T: class
Exception | Description |
---|---|
System.ArgumentException | The pocoCollection is not of type System.Data.Entity.Core.Objects.DataClasses.EntityCollection`1. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2